#ifndef MYTREEVIEW_H
#define MYTREEVIEW_H

#include <QWidget>
#include <QTreeView>

class MyTreeView : public QTreeView
{
  Q_OBJECT
public:
  /*explicit*/ MyTreeView(QWidget *parent = 0);


protected:
  virtual void changeEvent(QEvent *e);
  virtual void resizeEvent(QResizeEvent *event);
  void drawRow(QPainter *painter, const QStyleOptionViewItem &options, const QModelIndex &index) const;
};

#endif // MYTREEVIEW_H
